package com.hydl.power.pojo;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@Api(value = "SysUser", description = "用户")
public class SysUser {
    private Integer id;

    /*
    * 登录名
    */
    @ApiModelProperty("登录名")
    private String username;
    @ApiModelProperty("工号")
    private String card;

    //密码
    @ApiModelProperty("密码")
    private String password;

    //状态
    @ApiModelProperty("状态 1正常 2 不正常")
    private Integer flag;

    //创建时间
    private Date createTime;

    private String token;

    private Date loginTime;


    private Integer status;

    private Integer projectId;

    private String maintainerId;

    private Integer mapStatus;

    private String pictureAddress;

    private Integer cableThermometry;

    private Integer cableWaterInvasion;
    private Integer isMaintenance;

  public Integer getIsMaintenance() {
    return isMaintenance;
  }

  public void setIsMaintenance(Integer isMaintenance) {
    this.isMaintenance = isMaintenance;
  }

  public Integer getCableWaterInvasion() {
        return cableWaterInvasion;
    }

    public void setCableWaterInvasion(Integer cableWaterInvasion) {
        this.cableWaterInvasion = cableWaterInvasion;
    }

    public Integer getCableThermometry() {
    return cableThermometry;
  }

  public void setCableThermometry(Integer cableThermometry) {
    this.cableThermometry = cableThermometry;
  }

  public Integer getMapStatus() {
        return mapStatus;
    }

    public void setMapStatus(Integer mapStatus) {
        this.mapStatus = mapStatus;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getProjectId() {
         return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public String getMaintainerId() {
        return maintainerId;
    }

    public void setMaintainerId(String maintainerId) {
        this.maintainerId = maintainerId;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCard() {
        return card;
    }

    public void setCard(String card) {
        this.card = card;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getPictureAddress() {
        return pictureAddress;
    }

    public void setPictureAddress(String pictureAddress) {
        this.pictureAddress = pictureAddress;
    }
}
